<!DOCTYPE html>
<html>
<head>
	<title>WebSocket Test</title>
	<script type="text/javascript" src="/scripts/websocket.js"></script>
	<style>
		pre#timer {
			border: 1px solid black;
		}
	</style>
</head>
<body onLoad="connect()">
	<p>The following box should show a running counter, updated by the server:</p>
	<pre id="timer"></pre>
	<button type="button" onclick="closeConnection()">Close connection</button>
</body>
</html>
